#ifndef ANIMALTIONWINDOW_H
#define ANIMALTIONWINDOW_H
#include"cards.h"
#include"card.h"
#include <QPixmap>
#include <QWidget>

class Animaltionwindow : public QWidget
{
    Q_OBJECT
public:
    enum Type{Sequence,Pair};
    explicit Animaltionwindow(QWidget *parent = nullptr);
    void showBetScore(int bet);
    void showSequence(Type type);
    void showJokerBomb();
    void showBomb();
    void showPlane();

signals:

private:
    QPixmap m_image;
    int m_index;
    int m_x;
    // QWidget interface
protected:
    virtual void paintEvent(QPaintEvent *event) override;
};


#endif // ANIMALTIONWINDOW_H
